package com.ant.cn.base.serv;

import java.io.IOException;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import jdk.nashorn.internal.ir.RuntimeNode.Request;

import com.ant.cn.base.BaseServlet;

public class Servlet001 extends BaseServlet {

	@Override
	public void doServlet(HttpServletRequest req, HttpServletResponse resp)
			throws ServletException, IOException {
		System.out.println("id=" + req.getParameter("id"));
		System.out.println("name=" + req.getParameter("name"));
		System.out.println("pass=" + req.getParameter("pass"));
		req.getRequestDispatcher("users/login.jsp").forward(req, resp);
		//resp.sendRedirect("users/login.jsp");

	}

}
